package chabernac.android.wordbattle.db;

import java.io.File;

import android.database.sqlite.SQLiteDatabase;
import android.os.Environment;

public class DatabaseSDHelper{
  private final SQLiteDatabase myDatabase;
  
  public DatabaseSDHelper(String aDatabaseName, int aVersion){
    myDatabase = SQLiteDatabase.openOrCreateDatabase( new File(Environment.getExternalStorageDirectory(), aDatabaseName), null );
    myDatabase.setVersion( aVersion );
//    if(myDatabase.
  }
  
  public SQLiteDatabase getReadableDatabase(){
    return myDatabase;
  }

}
